package com.enetiy;

import java.util.Date;


/**
 * Logins entity. @author MyEclipse Persistence Tools
 */

public class Logins implements java.io.Serializable {

	// Fields

	private Integer id;
	private Users users;
	private Hotspot hotspot;
	private String deviceMac;
	private String deviceIp;
	private Date loginTime;
	private String ver;
	private String hotspotName;
	private Integer areaId;
	private String deviceType;
	private String deviceVer;
	private Date logoutTime;

	// Constructors

	/** default constructor */
	public Logins() {
	}

	/** minimal constructor */
	public Logins(Users users) {
		this.users = users;
	}

	/** full constructor */
	public Logins(Users users, Hotspot hotspot, String deviceMac,
			String deviceIp, Date loginTime, String ver,
			String hotspotName, Integer areaId, String deviceType,
			String deviceVer, Date logoutTime) {
		this.users = users;
		this.hotspot = hotspot;
		this.deviceMac = deviceMac;
		this.deviceIp = deviceIp;
		this.loginTime = loginTime;
		this.ver = ver;
		this.hotspotName = hotspotName;
		this.areaId = areaId;
		this.deviceType = deviceType;
		this.deviceVer = deviceVer;
		this.logoutTime = logoutTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public Hotspot getHotspot() {
		return this.hotspot;
	}

	public void setHotspot(Hotspot hotspot) {
		this.hotspot = hotspot;
	}

	public String getDeviceMac() {
		return this.deviceMac;
	}

	public void setDeviceMac(String deviceMac) {
		this.deviceMac = deviceMac;
	}

	public String getDeviceIp() {
		return this.deviceIp;
	}

	public void setDeviceIp(String deviceIp) {
		this.deviceIp = deviceIp;
	}

	public Date getLoginTime() {
		return this.loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getVer() {
		return this.ver;
	}

	public void setVer(String ver) {
		this.ver = ver;
	}

	public String getHotspotName() {
		return this.hotspotName;
	}

	public void setHotspotName(String hotspotName) {
		this.hotspotName = hotspotName;
	}

	public Integer getAreaId() {
		return this.areaId;
	}

	public void setAreaId(Integer areaId) {
		this.areaId = areaId;
	}

	public String getDeviceType() {
		return this.deviceType;
	}

	public void setDeviceType(String deviceType) {
		this.deviceType = deviceType;
	}

	public String getDeviceVer() {
		return this.deviceVer;
	}

	public void setDeviceVer(String deviceVer) {
		this.deviceVer = deviceVer;
	}

	public Date getLogoutTime() {
		return this.logoutTime;
	}

	public void setLogoutTime(Date logoutTime) {
		this.logoutTime = logoutTime;
	}

}